package com.sanerzone.smscenter.config.impl;

import com.sanerzone.smscenter.biz.cache.TemplateRouteCachHelper;
import com.sanerzone.smscenter.biz.entity.TemplateRoute;
import com.sanerzone.smscenter.biz.iface.TemplateRouteInterface;

public class TemplateRouteInterfaceImpl implements TemplateRouteInterface{
    @Override
    public boolean addTemplateRouteToCach(TemplateRoute templateRoute) {
        return TemplateRouteCachHelper.add( templateRoute );
    }

    @Override
    public boolean deleteTemplateRoute(TemplateRoute templateRoute) {
        return TemplateRouteCachHelper.delete( templateRoute );
    }
}
